﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace DiscMaster.Web.Models
{
    [MetadataType(typeof(MatchResult_MetaData))]
    public partial class MatchResult
    {
    }
    internal class MatchResult_MetaData
    {
        [ScaffoldColumn(false)]
        public System.Guid resultid { get; set; }

        [ScaffoldColumn(false)]
        public System.Guid matchid { get; set; }

        [ScaffoldColumn(false)]
        public System.Guid playerid { get; set; }

        [ScaffoldColumn(false)]
        public System.Guid holeid { get; set; }

        [Range(0,99)]
        [DisplayName("Result")]
        public int result { get; set; }

        [DataType(DataType.MultilineText)]
        [DisplayName("Comment")]
        public string comment { get; set; }
    }
}
